From: Stefan Monnier Date: Fri, 4 Feb 2022 18:39:19 +0000 (-0500) Subject: python.el: Silence left over warning in last commit X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2965 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b4f1ceaf241239b8fc7ad1e91af62f4e425bda8a;p=emacs.git python.el: Silence left over warning in last commit * lisp/progmodes/python.el (python-shell-calculate-process-environment): Declare tramp-remote-process-environment before using it. --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index ba8e3e811d4..d83290fe457 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -2208,6 +2208,7 @@ virtualenv." (defun python-shell-calculate-process-environment () (declare (obsolete python-shell--calculate-process-environment "29.1")) + (defvar tramp-remote-process-environment) (let* ((remote-p (file-remote-p default-directory))) (append (python-shell--calculate-process-environment) (if remote-p